﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;
using System.IO;

namespace MGGameWS
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMGGameService" in both code and config file together.
    [ServiceContract]
    public interface IMGGameService
    {
        [OperationContract]       
        [WebInvoke(
            Method="POST",
            UriTemplate="recordData/*"
        )]
        void RecordData(Stream data);

        [OperationContract]
             [WebInvoke(
            Method = "POST",
            UriTemplate = "headerData/*"
        )]
        void HeaderData(Stream data);

        [OperationContract]
        [WebInvoke(
       Method = "POST",
       UriTemplate = "lastData/*"
   )]
        void LastData(Stream data);


        [OperationContract]
        [WebInvoke(
       Method = "POST",
       UriTemplate = "firstData/*"
   )]
        void FirstData(Stream data);
   }
}
